package com.mdsi.models;

public class Teacher extends Staff {
   
    public enum StatutType {
    	PERMANENT,
    	VACATAIRE,
    	ATER
    }
    
    public StatutType statut ;
    public String function ;

    public Teacher (String firstname, String lastname, String email,
			String password, long immat, StatutType statut, String function) {
    	super (firstname, lastname, email, password, immat, null) ;
    	this.statut = statut ;
    	this.function = function  ;
    }
    
    public Teacher (Long id, String firstname, String lastname, String email,
			long immat, StatutType statut, String function) {
    	super (id, firstname, lastname, email, immat, null) ;
    	this.statut = statut ;
    	this.function = function  ;
    }
    
}
